package com.ng.common.exception;

import com.ng.common.result.R;

/**
 * 业务异常
 * - 抛出异常在控制台
 *
 * @author Ng
 * @date 2024/03/08
 */
public class BaseException extends RuntimeException {

    public BaseException() {}

    public BaseException(String msg) {
        super(msg);

        R.error(msg);
    }
}
